<?php
/**
 * Created by 784855684@qq.com.
 * Link: https://github.com/lichtung/wshore
 * User: linzh
 * Date: 7/8/17
 * Time: 10:28 AM
 */
declare(strict_types=1);


namespace application\module\admin\addon\wechat;


use application\module\admin\addon\wechat\model\MemberModel;
use application\module\admin\addon\wechat\model\MessageModel;

interface MessageHookInterface
{

    public function onText(MessageModel $message);

    public function onImage(MessageModel $message);

    public function onSubscribe(MemberModel $member);

    public function onUnsubscribe(MemberModel $member);

}